# GTK for Linux32
# change: xa_gui_del.mak removes all obj's


#ifeq "$(VGTK)" "2"
SRCGUI =\
 ../gui/gui_base.c\
 ../gui_gtk/gtk_base.c\
 ../gui_gtk/gtk_label.c\
 ../gui_gtk/gtk_button.c\
 ../gui_gtk/gtk_menu.c\
 ../gui_gtk/gtk_entry.c\
 ../gui_gtk/gtk_image.c\
 ../gui_gtk/gtk_dlg_files.c\
 ../gui_gtk/gtk_dlg_std.c\
 ../gui_gtk/gtk_msgWin.c\
 ../gui_gtk/gtk_lists.c\
 ../gui_gtk/gtk_multichoice.c\
 ../gui_gtk/gtk_container.c\
 ../gui_gtk/gtk_tree_it.c\
 ../gui_gtk/gtk_opengl.c\
 ../gui_gtk/gtk_gl_x11.c

#endif



# GTK for Linux32
ifeq "$(OS)" "Linux32"

  ifeq "$(VGTK)" "2"
  #gtk_inc_dir = /usr/include
  #GUICP  = -DGTK2 -I$(gtk_inc_dir)/gtk-2.0 -I$(gtk_inc_dir)/glib-2.0 -I$(gtk_inc_dir)/cairo -I$(gtk_inc_dir)/pango-1.0 -I$(gtk_inc_dir)/atk-1.0

  GUICP = `pkg-config --cflags gtk+-2.0` -DGTK2
  GUILIB = `pkg-config --libs gtk+-2.0`
  endif


  ifeq "$(VGTK)" "3"
  GUICP = `pkg-config --cflags gtk+-3.0` -DGTK3
  GUILIB = `pkg-config --libs gtk+-3.0`
  endif

  
endif


# GTK for Linux64
ifeq "$(OS)" "Linux64"

  #gtk_inc_dir = /usr/include
  #GUICP  = -DGTK2 -I$(gtk_inc_dir)/gtk-2.0 -I$(gtk_inc_dir)/glib-2.0 -I$(gtk_inc_dir)/cairo -I$(gtk_inc_dir)/pango-1.0 -I$(gtk_inc_dir)/atk-1.0

  GUICP = `pkg-config --cflags gtk+-2.0` -DGTK2
  GUILIB = `pkg-config --libs gtk+-2.0`
endif



# GTK for MinGW
ifeq "$(OS)" "MS32"

  gtk_inc_dir = ../gtk_MS_216/include
  GUICP = -mms-bitfields -DGTK2 -I$(gtk_inc_dir)/gtk-2.0 -I$(gtk_inc_dir)/glib-2.0 -I$(gtk_inc_dir)/cairo -I$(gtk_inc_dir)/pango-1.0 -I$(gtk_inc_dir)/atk-1.0 -D_MSC_VER

# gtk_lib_dir = /x/Devel/dev/gCAD3D/gtk_MS_216/lib
# GUILIB = -L$(gtk_lib_dir) gtk-win32-2.0.lib gdk-win32-2.0.lib gdk_pixbuf-2.0.lib glib-2.0.lib gobject-2.0.lib

  gtk_lib_dir = ../gtk_MS_216/lib
  GUILIB = $(gtk_lib_dir)/gtk-win32-2.0.lib $(gtk_lib_dir)/gdk-win32-2.0.lib $(gtk_lib_dir)/gdk_pixbuf-2.0.lib $(gtk_lib_dir)/glib-2.0.lib $(gtk_lib_dir)/gobject-2.0.lib

endif


#GUILIB = $(OS)

# EOF
